package com.aloha.test.mapper;

import com.aloha.middleware.db.router.annotation.DBRouter;
import com.aloha.middleware.db.router.annotation.DBRouterStrategy;
import com.aloha.test.po.UserExport;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author DaiZhiHeng
 * @date 2023/7/9 12:29
 */
@Mapper
@DBRouterStrategy(splitTable = true)
public interface IUserExportMapper {

    @DBRouter(key = "uid")
    void insert(UserExport userExport);

    @DBRouter
    UserExport queryUserExportByUid(String uid);
}
